package com.tjw.dao;

import com.tjw.pojo.CheckGroup;
import java.util.List;
import java.util.Map;

/**
 * @author tjw
 * @Date 2020/10/8
 */
public interface CheckGroupDao {

    public List<CheckGroup> pageQuery(String queryString);

    public void add(CheckGroup checkGroup);

    public void setCheckGroupAndCheckItem(Map<String,Integer> map);

    public void delete(Integer id);

    public void deleteCheckGroupAndCheckItem(Integer id);

    public Integer[] findCheckGroupAndCheckItemByID(Integer id);

    public void edit(CheckGroup checkGroup);

    public List<CheckGroup> findAll();

    public List<CheckGroup> findById(Integer id);
}
